srkh28@gmail.com
Picoblaze expects a particular file type to be downloaded to the target Flash. This is a PROM formatted or .MCS based file. To generate a .MCS file from an existing .BIT file, use Xilinx's Impact program. Follow the following steps below to generate your .MCS.
Launch ISE's Impact program and open a new project.








Select "Prepare PROM file"









Now select "3rd party SPI PROM", which is what CB's M25P80 on-board Flash is. Select "MCS" format and finally give the new .MCS a file name. I typically call my .MCS the same name as my .BITS.







Choose the size of your target Flash device. Carte Blanche's on-board SPI Flash is a M25P80, which is an 8Mbit (1Mbyte) device.







When prompted if you wish to "Start adding device file to data stream: 0" Click "OK"








Select the .BIT file you wish to add to the PROM formatter. When prompted to "add another", click "NO"







On receipt of the good news click "OK"








Confirm the configuration details are correct,  and click "Finish" to proceed.







Double click on "Generate PROM" and the .MCS file will be prepared and copied to the location specified in Step 3.